<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin: 40px;
	margin-top:0;
	font-family: Lucida Grande, Verdana, Sans-serif;
	font-size: 14px;
	color: #4F5155;
}
.code {
 font-family: Monaco, Verdana, Sans-serif;
 font-size: 12px;
 background-color: #f9f9f9;
 border: 1px solid #D0D0D0;
 color: #002166;
 margin: 14px 0 14px 0;
 padding: 12px 10px 12px 10px;
 height:auto;
}
div.nav {
	padding-left:15px;
	padding-top:7px;
	height:23px;
	border:1px solid #D0D0D0;
	
}

/*
	列表表格1
*/


.tlist1,
.tlist1 td,
.tlist1 th {
	padding:0;
	border-collapse:collapse;
	border:1px solid #ccc;
}
.tlist1 {
	width:769px;
	border:none;
	margin:auto;
	margin-top:10px;
}
.tlist1 td {
/*	height:30px;
	line-height:30px;*/
	padding-top:5px;
	padding-bottom:5px;
	text-align:center;
}

.tlist1 th {
	height:35px;
	line-height:35px;
}
.tlist1 th.bian {
	width:60px;
}

.tlist1 th.ren {
	width:40px;
}
.tlist1 th.shijian {
	width:110px;
} 


.tlist1 td.Bian {
	padding:0 5px;
	width:30px;
	text-align:center;
}

.tlist1 td.Biao {
	padding-left:20px;
	text-align:left;
	
}
.tlist1 td.contr {
	width:100px;
	text-align:center;
}
.tlist1 td.kaiban {
	width:150px;
	text-align:center;
}


.biaoline {
	text-decoration:underline;
}


-->
</style>
</head>
<body>
<div class="nav">
        <img src="<?php echo $base_url;?>/images/m/book1.gif" />&nbsp;&nbsp;后台管理&nbsp;>>&nbsp;<strong>家具分类管理
		</strong>
</div><div class="code">
  <table class="tlist1"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <th>编号</th>
      <th>分类名称</th>
      <th>操作</th>
    </tr>
	
<?php foreach($child as $row):  ?>	
    <tr>
      <td class="Bian"><?php echo $row->classid;  ?></td>
      <td class="Biao"><span class="">
	  <?php 
            for($i=0;$i<$row->deep;$i++)
				{
					echo "&nbsp&nbsp&nbsp|-";
				}	  
	  ?>
	  <?php echo $row->classname;  ?></span></td>
      <td class="contr"><a href="<?php echo $base_header.'/m_class/updateclass/'.$row->classid;  ?>">修改</a>&nbsp;&nbsp;<!--<a href="#">删除</a>--></td>
    </tr>
	
<?php endforeach; ?>	
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</div>
</body>
</html>
